﻿<%@ Page Title="Деталі резюме" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Details.aspx.cs" Inherits="Work.UI.Web.Forms.Admin.Resume.Details" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentHeader" runat="server">
Деталі резюме
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <asp:ObjectDataSource ID="odsResume" runat="server" TypeName="Work.BL.Hibernate.Managers.HResumeManager"
        DataObjectTypeName="Work.BL.POCOs.ResumePOCO" SelectMethod="GetResumeById"
        OnObjectCreating="odsResumeObjectCreating">
        <SelectParameters>
            <asp:QueryStringParameter Name="Id" QueryStringField="Id" Type="Int32" />
        </SelectParameters>
        <deleteparameters>
            <asp:parameter name="Id" type="Int32" />
        </deleteparameters>
        <UpdateParameters>
            <asp:parameter name="Id" type="Int32" />
        </UpdateParameters>
    </asp:ObjectDataSource>

    <asp:FormView runat="server" ID="frvResume" 
                DataSourceID="odsResume"
                DataKeyNames="Id">

        <ItemTemplate>

            <table class="table_details">
                <tr>
                    <th>Заголовок</th>
                    <td><%# Eval("Title")%></td>
                </tr>
                <tr>
                    <th>Зарплата</th>
                    <td><%# Eval("Salary")%></td>
                </tr>
                <tr>
                    <th>Додаткова інформація</th>
                    <td><%# Eval("Description")%></td>
                </tr>
            </table>

        </ItemTemplate>

    </asp:FormView>
    <asp:HyperLink ID="HyperLink2" NavigateUrl="~/Admin/Resume/Default.aspx" runat="server" CssClass="button1">
            <strong>Назад</strong>
    </asp:HyperLink>

</asp:Content>
